package com.bee.study.api;

/**
 * @version 1.0.0
 * @Author yong.Mr
 * @data 2019-8-9
 */
 public abstract class AbstractApi implements ApiInterface {

    public String buildCommont() {
        return "AbstractApi_buildCommont";
    }

    public String type() {
        return null;
    }

    public String test() {
        // 如果buildCommont()方法被重写，会调用实现类中的重写的方法
        System.out.println(buildCommont());
        return "AbstractApi_test";
    }

    public String brandById() {
        return "AbstractApi_brandById";
    }

    public String queryById() {
        return "AbstractApi_queryById";
    }
}
